<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">

    <ui:composition template="/templates/layout_template.xhtml">

	<ui:define name="hdr_logo">
	    <!-- TODO dodac logo agh  albo iisg -->
	    <!--<img id="logo" width="54" height="30"  src="logo.png"/>-->
	</ui:define>

	<ui:define name="hdr_title">
	    <h:form>
		<h:inputText value="#{browserMBean.searchValue}" action="#{browserMBean.searchAction}" styleClass="search"/>
		<h:commandLink  styleClass="search"/>
	    </h:form>
	</ui:define>

	<ui:define name="hdr_info" >
	    <h:form>
				jestes zalogowany jako <b>#{userMBean.login}</b>
				| <h:commandLink value="Wyloguj" action="#{userMBean.logoutAction}"/>
		    <div id="clock">.</div>
		</h:form>

	    </ui:define>

	    <ui:define name="navcenter">
	    </ui:define>

	    <ui:define name="navleft">
		<h:outputLink value="upload.jsf">upload</h:outputLink>
		<h:outputLink value="choose.jsf">choose</h:outputLink>
		<h:outputLink value="browser.jsf">browser</h:outputLink>
		<h:outputLink value="admin.jsf">admin</h:outputLink>
		<h:outputLink value="addItem.jsf">addItem</h:outputLink>
	    </ui:define>


	    <ui:insert name="menu">
		<div id="menu"><ui:insert name="menu_title">

			<div id="menu_title">
			    <h1>MENU TITLE</h1>
			    <ul>
				<li><a href="#">Submenu1</a></li>
				<li><a href="#">Submenu2</a></li>
				<li><a href="#">Submenu3</a></li>
				<li><a href="#">Submenu4</a></li>
			    </ul>
			</div>
		    </ui:insert> <ui:insert name="menu_content">
			<div id="menu_content"></div>
					TOOLBAR
		    </ui:insert></div>
	    </ui:insert>

	    <ui:insert name="content">
			CONTENT
		</ui:insert>

	    </ui:composition>

	</html>
